package com.hrbxlh.dao;

import java.io.IOException;
import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;


@Repository
public interface RelNotClaDao {
	
	/**
	 * 消息关联表设置。
	 * @throws IOException
	 */
	 boolean addRelNotCla(Map<String,Object> paramMap) throws Exception;
	
	/**
	 * @param paramMap
	 * @return  查看notice表中消息设置
	 * @throws IOException
	 */
	 List<Map<String, Object>> getRelNotCla(Map<String, Object> parameMap) throws Exception;
	
	/**
	 *删除消息关联表设置。
	 * @throws IOException
	 */
	 boolean delRelNotCla(Map<String,Object> paramMap) throws Exception;
	
	/**
	 * @param paramMap
	 * @return  通过消息主键获取此消息所有的班级
	 * @throws IOException
	 */
	 List<String> getClassByNoticeId(Map<String, Object> paramMap) throws Exception;

}
